package com.qfedu.yuxiaoer.entity;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class PreLeaseExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public PreLeaseExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andTenantPhoneIsNull() {
            addCriterion("tenant_phone is null");
            return (Criteria) this;
        }

        public Criteria andTenantPhoneIsNotNull() {
            addCriterion("tenant_phone is not null");
            return (Criteria) this;
        }

        public Criteria andTenantPhoneEqualTo(String value) {
            addCriterion("tenant_phone =", value, "tenantPhone");
            return (Criteria) this;
        }

        public Criteria andTenantPhoneNotEqualTo(String value) {
            addCriterion("tenant_phone <>", value, "tenantPhone");
            return (Criteria) this;
        }

        public Criteria andTenantPhoneGreaterThan(String value) {
            addCriterion("tenant_phone >", value, "tenantPhone");
            return (Criteria) this;
        }

        public Criteria andTenantPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("tenant_phone >=", value, "tenantPhone");
            return (Criteria) this;
        }

        public Criteria andTenantPhoneLessThan(String value) {
            addCriterion("tenant_phone <", value, "tenantPhone");
            return (Criteria) this;
        }

        public Criteria andTenantPhoneLessThanOrEqualTo(String value) {
            addCriterion("tenant_phone <=", value, "tenantPhone");
            return (Criteria) this;
        }

        public Criteria andTenantPhoneLike(String value) {
            addCriterion("tenant_phone like", value, "tenantPhone");
            return (Criteria) this;
        }

        public Criteria andTenantPhoneNotLike(String value) {
            addCriterion("tenant_phone not like", value, "tenantPhone");
            return (Criteria) this;
        }

        public Criteria andTenantPhoneIn(List<String> values) {
            addCriterion("tenant_phone in", values, "tenantPhone");
            return (Criteria) this;
        }

        public Criteria andTenantPhoneNotIn(List<String> values) {
            addCriterion("tenant_phone not in", values, "tenantPhone");
            return (Criteria) this;
        }

        public Criteria andTenantPhoneBetween(String value1, String value2) {
            addCriterion("tenant_phone between", value1, value2, "tenantPhone");
            return (Criteria) this;
        }

        public Criteria andTenantPhoneNotBetween(String value1, String value2) {
            addCriterion("tenant_phone not between", value1, value2, "tenantPhone");
            return (Criteria) this;
        }

        public Criteria andTenantNameIsNull() {
            addCriterion("tenant_name is null");
            return (Criteria) this;
        }

        public Criteria andTenantNameIsNotNull() {
            addCriterion("tenant_name is not null");
            return (Criteria) this;
        }

        public Criteria andTenantNameEqualTo(String value) {
            addCriterion("tenant_name =", value, "tenantName");
            return (Criteria) this;
        }

        public Criteria andTenantNameNotEqualTo(String value) {
            addCriterion("tenant_name <>", value, "tenantName");
            return (Criteria) this;
        }

        public Criteria andTenantNameGreaterThan(String value) {
            addCriterion("tenant_name >", value, "tenantName");
            return (Criteria) this;
        }

        public Criteria andTenantNameGreaterThanOrEqualTo(String value) {
            addCriterion("tenant_name >=", value, "tenantName");
            return (Criteria) this;
        }

        public Criteria andTenantNameLessThan(String value) {
            addCriterion("tenant_name <", value, "tenantName");
            return (Criteria) this;
        }

        public Criteria andTenantNameLessThanOrEqualTo(String value) {
            addCriterion("tenant_name <=", value, "tenantName");
            return (Criteria) this;
        }

        public Criteria andTenantNameLike(String value) {
            addCriterion("tenant_name like", value, "tenantName");
            return (Criteria) this;
        }

        public Criteria andTenantNameNotLike(String value) {
            addCriterion("tenant_name not like", value, "tenantName");
            return (Criteria) this;
        }

        public Criteria andTenantNameIn(List<String> values) {
            addCriterion("tenant_name in", values, "tenantName");
            return (Criteria) this;
        }

        public Criteria andTenantNameNotIn(List<String> values) {
            addCriterion("tenant_name not in", values, "tenantName");
            return (Criteria) this;
        }

        public Criteria andTenantNameBetween(String value1, String value2) {
            addCriterion("tenant_name between", value1, value2, "tenantName");
            return (Criteria) this;
        }

        public Criteria andTenantNameNotBetween(String value1, String value2) {
            addCriterion("tenant_name not between", value1, value2, "tenantName");
            return (Criteria) this;
        }

        public Criteria andTenantNumberIsNull() {
            addCriterion("tenant_number is null");
            return (Criteria) this;
        }

        public Criteria andTenantNumberIsNotNull() {
            addCriterion("tenant_number is not null");
            return (Criteria) this;
        }

        public Criteria andTenantNumberEqualTo(String value) {
            addCriterion("tenant_number =", value, "tenantNumber");
            return (Criteria) this;
        }

        public Criteria andTenantNumberNotEqualTo(String value) {
            addCriterion("tenant_number <>", value, "tenantNumber");
            return (Criteria) this;
        }

        public Criteria andTenantNumberGreaterThan(String value) {
            addCriterion("tenant_number >", value, "tenantNumber");
            return (Criteria) this;
        }

        public Criteria andTenantNumberGreaterThanOrEqualTo(String value) {
            addCriterion("tenant_number >=", value, "tenantNumber");
            return (Criteria) this;
        }

        public Criteria andTenantNumberLessThan(String value) {
            addCriterion("tenant_number <", value, "tenantNumber");
            return (Criteria) this;
        }

        public Criteria andTenantNumberLessThanOrEqualTo(String value) {
            addCriterion("tenant_number <=", value, "tenantNumber");
            return (Criteria) this;
        }

        public Criteria andTenantNumberLike(String value) {
            addCriterion("tenant_number like", value, "tenantNumber");
            return (Criteria) this;
        }

        public Criteria andTenantNumberNotLike(String value) {
            addCriterion("tenant_number not like", value, "tenantNumber");
            return (Criteria) this;
        }

        public Criteria andTenantNumberIn(List<String> values) {
            addCriterion("tenant_number in", values, "tenantNumber");
            return (Criteria) this;
        }

        public Criteria andTenantNumberNotIn(List<String> values) {
            addCriterion("tenant_number not in", values, "tenantNumber");
            return (Criteria) this;
        }

        public Criteria andTenantNumberBetween(String value1, String value2) {
            addCriterion("tenant_number between", value1, value2, "tenantNumber");
            return (Criteria) this;
        }

        public Criteria andTenantNumberNotBetween(String value1, String value2) {
            addCriterion("tenant_number not between", value1, value2, "tenantNumber");
            return (Criteria) this;
        }

        public Criteria andTenantDocumentTypeIsNull() {
            addCriterion("tenant_document_type is null");
            return (Criteria) this;
        }

        public Criteria andTenantDocumentTypeIsNotNull() {
            addCriterion("tenant_document_type is not null");
            return (Criteria) this;
        }

        public Criteria andTenantDocumentTypeEqualTo(String value) {
            addCriterion("tenant_document_type =", value, "tenantDocumentType");
            return (Criteria) this;
        }

        public Criteria andTenantDocumentTypeNotEqualTo(String value) {
            addCriterion("tenant_document_type <>", value, "tenantDocumentType");
            return (Criteria) this;
        }

        public Criteria andTenantDocumentTypeGreaterThan(String value) {
            addCriterion("tenant_document_type >", value, "tenantDocumentType");
            return (Criteria) this;
        }

        public Criteria andTenantDocumentTypeGreaterThanOrEqualTo(String value) {
            addCriterion("tenant_document_type >=", value, "tenantDocumentType");
            return (Criteria) this;
        }

        public Criteria andTenantDocumentTypeLessThan(String value) {
            addCriterion("tenant_document_type <", value, "tenantDocumentType");
            return (Criteria) this;
        }

        public Criteria andTenantDocumentTypeLessThanOrEqualTo(String value) {
            addCriterion("tenant_document_type <=", value, "tenantDocumentType");
            return (Criteria) this;
        }

        public Criteria andTenantDocumentTypeLike(String value) {
            addCriterion("tenant_document_type like", value, "tenantDocumentType");
            return (Criteria) this;
        }

        public Criteria andTenantDocumentTypeNotLike(String value) {
            addCriterion("tenant_document_type not like", value, "tenantDocumentType");
            return (Criteria) this;
        }

        public Criteria andTenantDocumentTypeIn(List<String> values) {
            addCriterion("tenant_document_type in", values, "tenantDocumentType");
            return (Criteria) this;
        }

        public Criteria andTenantDocumentTypeNotIn(List<String> values) {
            addCriterion("tenant_document_type not in", values, "tenantDocumentType");
            return (Criteria) this;
        }

        public Criteria andTenantDocumentTypeBetween(String value1, String value2) {
            addCriterion("tenant_document_type between", value1, value2, "tenantDocumentType");
            return (Criteria) this;
        }

        public Criteria andTenantDocumentTypeNotBetween(String value1, String value2) {
            addCriterion("tenant_document_type not between", value1, value2, "tenantDocumentType");
            return (Criteria) this;
        }

        public Criteria andMessageIdIsNull() {
            addCriterion("message_id is null");
            return (Criteria) this;
        }

        public Criteria andMessageIdIsNotNull() {
            addCriterion("message_id is not null");
            return (Criteria) this;
        }

        public Criteria andMessageIdEqualTo(Integer value) {
            addCriterion("message_id =", value, "messageId");
            return (Criteria) this;
        }

        public Criteria andMessageIdNotEqualTo(Integer value) {
            addCriterion("message_id <>", value, "messageId");
            return (Criteria) this;
        }

        public Criteria andMessageIdGreaterThan(Integer value) {
            addCriterion("message_id >", value, "messageId");
            return (Criteria) this;
        }

        public Criteria andMessageIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("message_id >=", value, "messageId");
            return (Criteria) this;
        }

        public Criteria andMessageIdLessThan(Integer value) {
            addCriterion("message_id <", value, "messageId");
            return (Criteria) this;
        }

        public Criteria andMessageIdLessThanOrEqualTo(Integer value) {
            addCriterion("message_id <=", value, "messageId");
            return (Criteria) this;
        }

        public Criteria andMessageIdIn(List<Integer> values) {
            addCriterion("message_id in", values, "messageId");
            return (Criteria) this;
        }

        public Criteria andMessageIdNotIn(List<Integer> values) {
            addCriterion("message_id not in", values, "messageId");
            return (Criteria) this;
        }

        public Criteria andMessageIdBetween(Integer value1, Integer value2) {
            addCriterion("message_id between", value1, value2, "messageId");
            return (Criteria) this;
        }

        public Criteria andMessageIdNotBetween(Integer value1, Integer value2) {
            addCriterion("message_id not between", value1, value2, "messageId");
            return (Criteria) this;
        }

        public Criteria andContractStartTimeIsNull() {
            addCriterion("contract_start_time is null");
            return (Criteria) this;
        }

        public Criteria andContractStartTimeIsNotNull() {
            addCriterion("contract_start_time is not null");
            return (Criteria) this;
        }

        public Criteria andContractStartTimeEqualTo(Date value) {
            addCriterion("contract_start_time =", value, "contractStartTime");
            return (Criteria) this;
        }

        public Criteria andContractStartTimeNotEqualTo(Date value) {
            addCriterion("contract_start_time <>", value, "contractStartTime");
            return (Criteria) this;
        }

        public Criteria andContractStartTimeGreaterThan(Date value) {
            addCriterion("contract_start_time >", value, "contractStartTime");
            return (Criteria) this;
        }

        public Criteria andContractStartTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("contract_start_time >=", value, "contractStartTime");
            return (Criteria) this;
        }

        public Criteria andContractStartTimeLessThan(Date value) {
            addCriterion("contract_start_time <", value, "contractStartTime");
            return (Criteria) this;
        }

        public Criteria andContractStartTimeLessThanOrEqualTo(Date value) {
            addCriterion("contract_start_time <=", value, "contractStartTime");
            return (Criteria) this;
        }

        public Criteria andContractStartTimeIn(List<Date> values) {
            addCriterion("contract_start_time in", values, "contractStartTime");
            return (Criteria) this;
        }

        public Criteria andContractStartTimeNotIn(List<Date> values) {
            addCriterion("contract_start_time not in", values, "contractStartTime");
            return (Criteria) this;
        }

        public Criteria andContractStartTimeBetween(Date value1, Date value2) {
            addCriterion("contract_start_time between", value1, value2, "contractStartTime");
            return (Criteria) this;
        }

        public Criteria andContractStartTimeNotBetween(Date value1, Date value2) {
            addCriterion("contract_start_time not between", value1, value2, "contractStartTime");
            return (Criteria) this;
        }

        public Criteria andContractEndTimeIsNull() {
            addCriterion("contract_end_time is null");
            return (Criteria) this;
        }

        public Criteria andContractEndTimeIsNotNull() {
            addCriterion("contract_end_time is not null");
            return (Criteria) this;
        }

        public Criteria andContractEndTimeEqualTo(Date value) {
            addCriterion("contract_end_time =", value, "contractEndTime");
            return (Criteria) this;
        }

        public Criteria andContractEndTimeNotEqualTo(Date value) {
            addCriterion("contract_end_time <>", value, "contractEndTime");
            return (Criteria) this;
        }

        public Criteria andContractEndTimeGreaterThan(Date value) {
            addCriterion("contract_end_time >", value, "contractEndTime");
            return (Criteria) this;
        }

        public Criteria andContractEndTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("contract_end_time >=", value, "contractEndTime");
            return (Criteria) this;
        }

        public Criteria andContractEndTimeLessThan(Date value) {
            addCriterion("contract_end_time <", value, "contractEndTime");
            return (Criteria) this;
        }

        public Criteria andContractEndTimeLessThanOrEqualTo(Date value) {
            addCriterion("contract_end_time <=", value, "contractEndTime");
            return (Criteria) this;
        }

        public Criteria andContractEndTimeIn(List<Date> values) {
            addCriterion("contract_end_time in", values, "contractEndTime");
            return (Criteria) this;
        }

        public Criteria andContractEndTimeNotIn(List<Date> values) {
            addCriterion("contract_end_time not in", values, "contractEndTime");
            return (Criteria) this;
        }

        public Criteria andContractEndTimeBetween(Date value1, Date value2) {
            addCriterion("contract_end_time between", value1, value2, "contractEndTime");
            return (Criteria) this;
        }

        public Criteria andContractEndTimeNotBetween(Date value1, Date value2) {
            addCriterion("contract_end_time not between", value1, value2, "contractEndTime");
            return (Criteria) this;
        }

        public Criteria andHireTimeIsNull() {
            addCriterion("hire_time is null");
            return (Criteria) this;
        }

        public Criteria andHireTimeIsNotNull() {
            addCriterion("hire_time is not null");
            return (Criteria) this;
        }

        public Criteria andHireTimeEqualTo(String value) {
            addCriterion("hire_time =", value, "hireTime");
            return (Criteria) this;
        }

        public Criteria andHireTimeNotEqualTo(String value) {
            addCriterion("hire_time <>", value, "hireTime");
            return (Criteria) this;
        }

        public Criteria andHireTimeGreaterThan(String value) {
            addCriterion("hire_time >", value, "hireTime");
            return (Criteria) this;
        }

        public Criteria andHireTimeGreaterThanOrEqualTo(String value) {
            addCriterion("hire_time >=", value, "hireTime");
            return (Criteria) this;
        }

        public Criteria andHireTimeLessThan(String value) {
            addCriterion("hire_time <", value, "hireTime");
            return (Criteria) this;
        }

        public Criteria andHireTimeLessThanOrEqualTo(String value) {
            addCriterion("hire_time <=", value, "hireTime");
            return (Criteria) this;
        }

        public Criteria andHireTimeLike(String value) {
            addCriterion("hire_time like", value, "hireTime");
            return (Criteria) this;
        }

        public Criteria andHireTimeNotLike(String value) {
            addCriterion("hire_time not like", value, "hireTime");
            return (Criteria) this;
        }

        public Criteria andHireTimeIn(List<String> values) {
            addCriterion("hire_time in", values, "hireTime");
            return (Criteria) this;
        }

        public Criteria andHireTimeNotIn(List<String> values) {
            addCriterion("hire_time not in", values, "hireTime");
            return (Criteria) this;
        }

        public Criteria andHireTimeBetween(String value1, String value2) {
            addCriterion("hire_time between", value1, value2, "hireTime");
            return (Criteria) this;
        }

        public Criteria andHireTimeNotBetween(String value1, String value2) {
            addCriterion("hire_time not between", value1, value2, "hireTime");
            return (Criteria) this;
        }

        public Criteria andPayWayIsNull() {
            addCriterion("pay_way is null");
            return (Criteria) this;
        }

        public Criteria andPayWayIsNotNull() {
            addCriterion("pay_way is not null");
            return (Criteria) this;
        }

        public Criteria andPayWayEqualTo(String value) {
            addCriterion("pay_way =", value, "payWay");
            return (Criteria) this;
        }

        public Criteria andPayWayNotEqualTo(String value) {
            addCriterion("pay_way <>", value, "payWay");
            return (Criteria) this;
        }

        public Criteria andPayWayGreaterThan(String value) {
            addCriterion("pay_way >", value, "payWay");
            return (Criteria) this;
        }

        public Criteria andPayWayGreaterThanOrEqualTo(String value) {
            addCriterion("pay_way >=", value, "payWay");
            return (Criteria) this;
        }

        public Criteria andPayWayLessThan(String value) {
            addCriterion("pay_way <", value, "payWay");
            return (Criteria) this;
        }

        public Criteria andPayWayLessThanOrEqualTo(String value) {
            addCriterion("pay_way <=", value, "payWay");
            return (Criteria) this;
        }

        public Criteria andPayWayLike(String value) {
            addCriterion("pay_way like", value, "payWay");
            return (Criteria) this;
        }

        public Criteria andPayWayNotLike(String value) {
            addCriterion("pay_way not like", value, "payWay");
            return (Criteria) this;
        }

        public Criteria andPayWayIn(List<String> values) {
            addCriterion("pay_way in", values, "payWay");
            return (Criteria) this;
        }

        public Criteria andPayWayNotIn(List<String> values) {
            addCriterion("pay_way not in", values, "payWay");
            return (Criteria) this;
        }

        public Criteria andPayWayBetween(String value1, String value2) {
            addCriterion("pay_way between", value1, value2, "payWay");
            return (Criteria) this;
        }

        public Criteria andPayWayNotBetween(String value1, String value2) {
            addCriterion("pay_way not between", value1, value2, "payWay");
            return (Criteria) this;
        }

        public Criteria andRentIsNull() {
            addCriterion("rent is null");
            return (Criteria) this;
        }

        public Criteria andRentIsNotNull() {
            addCriterion("rent is not null");
            return (Criteria) this;
        }

        public Criteria andRentEqualTo(BigDecimal value) {
            addCriterion("rent =", value, "rent");
            return (Criteria) this;
        }

        public Criteria andRentNotEqualTo(BigDecimal value) {
            addCriterion("rent <>", value, "rent");
            return (Criteria) this;
        }

        public Criteria andRentGreaterThan(BigDecimal value) {
            addCriterion("rent >", value, "rent");
            return (Criteria) this;
        }

        public Criteria andRentGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("rent >=", value, "rent");
            return (Criteria) this;
        }

        public Criteria andRentLessThan(BigDecimal value) {
            addCriterion("rent <", value, "rent");
            return (Criteria) this;
        }

        public Criteria andRentLessThanOrEqualTo(BigDecimal value) {
            addCriterion("rent <=", value, "rent");
            return (Criteria) this;
        }

        public Criteria andRentIn(List<BigDecimal> values) {
            addCriterion("rent in", values, "rent");
            return (Criteria) this;
        }

        public Criteria andRentNotIn(List<BigDecimal> values) {
            addCriterion("rent not in", values, "rent");
            return (Criteria) this;
        }

        public Criteria andRentBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("rent between", value1, value2, "rent");
            return (Criteria) this;
        }

        public Criteria andRentNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("rent not between", value1, value2, "rent");
            return (Criteria) this;
        }

        public Criteria andRoutineDepositIsNull() {
            addCriterion("routine_deposit is null");
            return (Criteria) this;
        }

        public Criteria andRoutineDepositIsNotNull() {
            addCriterion("routine_deposit is not null");
            return (Criteria) this;
        }

        public Criteria andRoutineDepositEqualTo(BigDecimal value) {
            addCriterion("routine_deposit =", value, "routineDeposit");
            return (Criteria) this;
        }

        public Criteria andRoutineDepositNotEqualTo(BigDecimal value) {
            addCriterion("routine_deposit <>", value, "routineDeposit");
            return (Criteria) this;
        }

        public Criteria andRoutineDepositGreaterThan(BigDecimal value) {
            addCriterion("routine_deposit >", value, "routineDeposit");
            return (Criteria) this;
        }

        public Criteria andRoutineDepositGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("routine_deposit >=", value, "routineDeposit");
            return (Criteria) this;
        }

        public Criteria andRoutineDepositLessThan(BigDecimal value) {
            addCriterion("routine_deposit <", value, "routineDeposit");
            return (Criteria) this;
        }

        public Criteria andRoutineDepositLessThanOrEqualTo(BigDecimal value) {
            addCriterion("routine_deposit <=", value, "routineDeposit");
            return (Criteria) this;
        }

        public Criteria andRoutineDepositIn(List<BigDecimal> values) {
            addCriterion("routine_deposit in", values, "routineDeposit");
            return (Criteria) this;
        }

        public Criteria andRoutineDepositNotIn(List<BigDecimal> values) {
            addCriterion("routine_deposit not in", values, "routineDeposit");
            return (Criteria) this;
        }

        public Criteria andRoutineDepositBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("routine_deposit between", value1, value2, "routineDeposit");
            return (Criteria) this;
        }

        public Criteria andRoutineDepositNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("routine_deposit not between", value1, value2, "routineDeposit");
            return (Criteria) this;
        }

        public Criteria andPayTimeIsNull() {
            addCriterion("pay_time is null");
            return (Criteria) this;
        }

        public Criteria andPayTimeIsNotNull() {
            addCriterion("pay_time is not null");
            return (Criteria) this;
        }

        public Criteria andPayTimeEqualTo(String value) {
            addCriterion("pay_time =", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeNotEqualTo(String value) {
            addCriterion("pay_time <>", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeGreaterThan(String value) {
            addCriterion("pay_time >", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeGreaterThanOrEqualTo(String value) {
            addCriterion("pay_time >=", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeLessThan(String value) {
            addCriterion("pay_time <", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeLessThanOrEqualTo(String value) {
            addCriterion("pay_time <=", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeLike(String value) {
            addCriterion("pay_time like", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeNotLike(String value) {
            addCriterion("pay_time not like", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeIn(List<String> values) {
            addCriterion("pay_time in", values, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeNotIn(List<String> values) {
            addCriterion("pay_time not in", values, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeBetween(String value1, String value2) {
            addCriterion("pay_time between", value1, value2, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeNotBetween(String value1, String value2) {
            addCriterion("pay_time not between", value1, value2, "payTime");
            return (Criteria) this;
        }

        public Criteria andDepositIsNull() {
            addCriterion("deposit is null");
            return (Criteria) this;
        }

        public Criteria andDepositIsNotNull() {
            addCriterion("deposit is not null");
            return (Criteria) this;
        }

        public Criteria andDepositEqualTo(BigDecimal value) {
            addCriterion("deposit =", value, "deposit");
            return (Criteria) this;
        }

        public Criteria andDepositNotEqualTo(BigDecimal value) {
            addCriterion("deposit <>", value, "deposit");
            return (Criteria) this;
        }

        public Criteria andDepositGreaterThan(BigDecimal value) {
            addCriterion("deposit >", value, "deposit");
            return (Criteria) this;
        }

        public Criteria andDepositGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("deposit >=", value, "deposit");
            return (Criteria) this;
        }

        public Criteria andDepositLessThan(BigDecimal value) {
            addCriterion("deposit <", value, "deposit");
            return (Criteria) this;
        }

        public Criteria andDepositLessThanOrEqualTo(BigDecimal value) {
            addCriterion("deposit <=", value, "deposit");
            return (Criteria) this;
        }

        public Criteria andDepositIn(List<BigDecimal> values) {
            addCriterion("deposit in", values, "deposit");
            return (Criteria) this;
        }

        public Criteria andDepositNotIn(List<BigDecimal> values) {
            addCriterion("deposit not in", values, "deposit");
            return (Criteria) this;
        }

        public Criteria andDepositBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("deposit between", value1, value2, "deposit");
            return (Criteria) this;
        }

        public Criteria andDepositNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("deposit not between", value1, value2, "deposit");
            return (Criteria) this;
        }

        public Criteria andPresetTimeIsNull() {
            addCriterion("preset_time is null");
            return (Criteria) this;
        }

        public Criteria andPresetTimeIsNotNull() {
            addCriterion("preset_time is not null");
            return (Criteria) this;
        }

        public Criteria andPresetTimeEqualTo(Date value) {
            addCriterion("preset_time =", value, "presetTime");
            return (Criteria) this;
        }

        public Criteria andPresetTimeNotEqualTo(Date value) {
            addCriterion("preset_time <>", value, "presetTime");
            return (Criteria) this;
        }

        public Criteria andPresetTimeGreaterThan(Date value) {
            addCriterion("preset_time >", value, "presetTime");
            return (Criteria) this;
        }

        public Criteria andPresetTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("preset_time >=", value, "presetTime");
            return (Criteria) this;
        }

        public Criteria andPresetTimeLessThan(Date value) {
            addCriterion("preset_time <", value, "presetTime");
            return (Criteria) this;
        }

        public Criteria andPresetTimeLessThanOrEqualTo(Date value) {
            addCriterion("preset_time <=", value, "presetTime");
            return (Criteria) this;
        }

        public Criteria andPresetTimeIn(List<Date> values) {
            addCriterion("preset_time in", values, "presetTime");
            return (Criteria) this;
        }

        public Criteria andPresetTimeNotIn(List<Date> values) {
            addCriterion("preset_time not in", values, "presetTime");
            return (Criteria) this;
        }

        public Criteria andPresetTimeBetween(Date value1, Date value2) {
            addCriterion("preset_time between", value1, value2, "presetTime");
            return (Criteria) this;
        }

        public Criteria andPresetTimeNotBetween(Date value1, Date value2) {
            addCriterion("preset_time not between", value1, value2, "presetTime");
            return (Criteria) this;
        }

        public Criteria andPresetSignedTimeIsNull() {
            addCriterion("preset_signed_time is null");
            return (Criteria) this;
        }

        public Criteria andPresetSignedTimeIsNotNull() {
            addCriterion("preset_signed_time is not null");
            return (Criteria) this;
        }

        public Criteria andPresetSignedTimeEqualTo(Date value) {
            addCriterion("preset_signed_time =", value, "presetSignedTime");
            return (Criteria) this;
        }

        public Criteria andPresetSignedTimeNotEqualTo(Date value) {
            addCriterion("preset_signed_time <>", value, "presetSignedTime");
            return (Criteria) this;
        }

        public Criteria andPresetSignedTimeGreaterThan(Date value) {
            addCriterion("preset_signed_time >", value, "presetSignedTime");
            return (Criteria) this;
        }

        public Criteria andPresetSignedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("preset_signed_time >=", value, "presetSignedTime");
            return (Criteria) this;
        }

        public Criteria andPresetSignedTimeLessThan(Date value) {
            addCriterion("preset_signed_time <", value, "presetSignedTime");
            return (Criteria) this;
        }

        public Criteria andPresetSignedTimeLessThanOrEqualTo(Date value) {
            addCriterion("preset_signed_time <=", value, "presetSignedTime");
            return (Criteria) this;
        }

        public Criteria andPresetSignedTimeIn(List<Date> values) {
            addCriterion("preset_signed_time in", values, "presetSignedTime");
            return (Criteria) this;
        }

        public Criteria andPresetSignedTimeNotIn(List<Date> values) {
            addCriterion("preset_signed_time not in", values, "presetSignedTime");
            return (Criteria) this;
        }

        public Criteria andPresetSignedTimeBetween(Date value1, Date value2) {
            addCriterion("preset_signed_time between", value1, value2, "presetSignedTime");
            return (Criteria) this;
        }

        public Criteria andPresetSignedTimeNotBetween(Date value1, Date value2) {
            addCriterion("preset_signed_time not between", value1, value2, "presetSignedTime");
            return (Criteria) this;
        }

        public Criteria andStateIsNull() {
            addCriterion("state is null");
            return (Criteria) this;
        }

        public Criteria andStateIsNotNull() {
            addCriterion("state is not null");
            return (Criteria) this;
        }

        public Criteria andStateEqualTo(Integer value) {
            addCriterion("state =", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotEqualTo(Integer value) {
            addCriterion("state <>", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateGreaterThan(Integer value) {
            addCriterion("state >", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateGreaterThanOrEqualTo(Integer value) {
            addCriterion("state >=", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLessThan(Integer value) {
            addCriterion("state <", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLessThanOrEqualTo(Integer value) {
            addCriterion("state <=", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateIn(List<Integer> values) {
            addCriterion("state in", values, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotIn(List<Integer> values) {
            addCriterion("state not in", values, "state");
            return (Criteria) this;
        }

        public Criteria andStateBetween(Integer value1, Integer value2) {
            addCriterion("state between", value1, value2, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotBetween(Integer value1, Integer value2) {
            addCriterion("state not between", value1, value2, "state");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("type is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("type is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(Integer value) {
            addCriterion("type =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(Integer value) {
            addCriterion("type <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(Integer value) {
            addCriterion("type >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("type >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(Integer value) {
            addCriterion("type <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(Integer value) {
            addCriterion("type <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<Integer> values) {
            addCriterion("type in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<Integer> values) {
            addCriterion("type not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(Integer value1, Integer value2) {
            addCriterion("type between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("type not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andHouseDetachedBuildIdIsNull() {
            addCriterion("house_detached_build_id is null");
            return (Criteria) this;
        }

        public Criteria andHouseDetachedBuildIdIsNotNull() {
            addCriterion("house_detached_build_id is not null");
            return (Criteria) this;
        }

        public Criteria andHouseDetachedBuildIdEqualTo(Integer value) {
            addCriterion("house_detached_build_id =", value, "houseDetachedBuildId");
            return (Criteria) this;
        }

        public Criteria andHouseDetachedBuildIdNotEqualTo(Integer value) {
            addCriterion("house_detached_build_id <>", value, "houseDetachedBuildId");
            return (Criteria) this;
        }

        public Criteria andHouseDetachedBuildIdGreaterThan(Integer value) {
            addCriterion("house_detached_build_id >", value, "houseDetachedBuildId");
            return (Criteria) this;
        }

        public Criteria andHouseDetachedBuildIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("house_detached_build_id >=", value, "houseDetachedBuildId");
            return (Criteria) this;
        }

        public Criteria andHouseDetachedBuildIdLessThan(Integer value) {
            addCriterion("house_detached_build_id <", value, "houseDetachedBuildId");
            return (Criteria) this;
        }

        public Criteria andHouseDetachedBuildIdLessThanOrEqualTo(Integer value) {
            addCriterion("house_detached_build_id <=", value, "houseDetachedBuildId");
            return (Criteria) this;
        }

        public Criteria andHouseDetachedBuildIdIn(List<Integer> values) {
            addCriterion("house_detached_build_id in", values, "houseDetachedBuildId");
            return (Criteria) this;
        }

        public Criteria andHouseDetachedBuildIdNotIn(List<Integer> values) {
            addCriterion("house_detached_build_id not in", values, "houseDetachedBuildId");
            return (Criteria) this;
        }

        public Criteria andHouseDetachedBuildIdBetween(Integer value1, Integer value2) {
            addCriterion("house_detached_build_id between", value1, value2, "houseDetachedBuildId");
            return (Criteria) this;
        }

        public Criteria andHouseDetachedBuildIdNotBetween(Integer value1, Integer value2) {
            addCriterion("house_detached_build_id not between", value1, value2, "houseDetachedBuildId");
            return (Criteria) this;
        }

        public Criteria andHouseLeaseIdIsNull() {
            addCriterion("house_lease_id is null");
            return (Criteria) this;
        }

        public Criteria andHouseLeaseIdIsNotNull() {
            addCriterion("house_lease_id is not null");
            return (Criteria) this;
        }

        public Criteria andHouseLeaseIdEqualTo(Integer value) {
            addCriterion("house_lease_id =", value, "houseLeaseId");
            return (Criteria) this;
        }

        public Criteria andHouseLeaseIdNotEqualTo(Integer value) {
            addCriterion("house_lease_id <>", value, "houseLeaseId");
            return (Criteria) this;
        }

        public Criteria andHouseLeaseIdGreaterThan(Integer value) {
            addCriterion("house_lease_id >", value, "houseLeaseId");
            return (Criteria) this;
        }

        public Criteria andHouseLeaseIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("house_lease_id >=", value, "houseLeaseId");
            return (Criteria) this;
        }

        public Criteria andHouseLeaseIdLessThan(Integer value) {
            addCriterion("house_lease_id <", value, "houseLeaseId");
            return (Criteria) this;
        }

        public Criteria andHouseLeaseIdLessThanOrEqualTo(Integer value) {
            addCriterion("house_lease_id <=", value, "houseLeaseId");
            return (Criteria) this;
        }

        public Criteria andHouseLeaseIdIn(List<Integer> values) {
            addCriterion("house_lease_id in", values, "houseLeaseId");
            return (Criteria) this;
        }

        public Criteria andHouseLeaseIdNotIn(List<Integer> values) {
            addCriterion("house_lease_id not in", values, "houseLeaseId");
            return (Criteria) this;
        }

        public Criteria andHouseLeaseIdBetween(Integer value1, Integer value2) {
            addCriterion("house_lease_id between", value1, value2, "houseLeaseId");
            return (Criteria) this;
        }

        public Criteria andHouseLeaseIdNotBetween(Integer value1, Integer value2) {
            addCriterion("house_lease_id not between", value1, value2, "houseLeaseId");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}